Preprocessing Boolean Formulae for BDDs in a Probabilistic Context
نویسندگان
چکیده
Inference in many probabilistic logic systems is based on representing the proofs of a query as a DNF Boolean formula. Assessing the probability of such a formula is known as a #P-hard task. In practice, a large DNF is given to a BDD software package to construct the corresponding BDD. The DNF has to be transformed into the input format of the package. This is the preprocessing step. In this paper we investigate and compare different preprocessing methods, including our new trie based approach. Our experiments within the ProbLog system show that the behaviour of the methods changes according to the amount of sharing in the original DNF. The decomposition method is preferred when there is not much sharing in the DNF, whereas DNFs with sharing benefit from our trie based method. While our methods are motivated and applied in the ProbLog context, our results are interesting for other applications that manipulate DNF Boolean formulae.
منابع مشابه
Case-Factor Diagrams for Structured Probabilistic Modeling
We introduce a probabilistic formalism subsuming Markov random fields of bounded tree width and probabilistic context free grammars. Our models are based on a representation of Boolean formulas that we call case-factor diagrams (CFDs). CFDs are similar to binary decision diagrams (BDDs) but are concise for circuits of bounded tree width (unlike BDDs) and can concisely represent the set of parse...
متن کاملFine-tuning of boolean formulae preprocessing techniques
This paper presents constant propagation and common factors rewriting methods for boolean formula preprocessing. Formula rewriting performs symbolic simplification, and attempts to reconstitute hidden structure in the model that was lost by the conversion to a boolean formula. We show examples of fault trees whose assessment becomes feasible only after this kind of preprocessing.
متن کاملHeuristics for BDD handling of sum-of-products formulae
This paper presents the result of research on heuristic methods for assessment of fault-trees (boolean formulae) using Binary Decision Diagrams (BDDs for short). BDDs are the state-of-the-art compact representation of boolean formulae. The fault trees under consideration are given in the sum-of-products or products-of-sums form. We propose a new heuristic that is both robust and discriminating ...
متن کاملA Bdd
The logic of equality and uninterpreted functions (EUF) has been proposed for processor verification. This paper presents a new data structure called Binary Decision Diagrams for representing EUF formulas (EUF-BDDs). We define EUF-BDDs similar to BDDs, but we allow equalities between terms as labels instead of Boolean variables. We provide an approach to build a reduced ordered EUF-BDD (EUF-ROB...
متن کاملProbabilistic Construction of Monotone Formulae for Positive Linear Threshold Functions
We extend Valiant's construction of monotone formulae for the majority function to obtain an eecient probabilistic construction of small monotone formulae for arbitrary positive linear threshold functions. We show that any positive linear threshold function on n boolean variables which has weight complexity q(n) can be computed by a monotone boolean formula of size O(q(n) 3:3 n 2): Our techniqu...
متن کامل